"use strict";
//性别标识:1.男2.女 到底什么代表什么
var GunType;
(function (GunType) {
    GunType[GunType["M416"] = 1] = "M416";
    GunType[GunType["AK47"] = 2] = "AK47";
    GunType[GunType["Goza"] = 3] = "Goza";
})(GunType || (GunType = {}));
//编译器自动添加数值
var GunType2;
(function (GunType2) {
    GunType2[GunType2["M416"] = 0] = "M416";
    GunType2[GunType2["AK47"] = 1] = "AK47";
    GunType2[GunType2["Goza"] = 2] = "Goza";
})(GunType2 || (GunType2 = {}));
var Gender;
(function (Gender) {
    Gender[Gender["Boy"] = 1] = "Boy";
    Gender[Gender["Girl"] = 2] = "Girl";
    Gender[Gender["Unknown"] = 3] = "Unknown";
})(Gender || (Gender = {}));
var userSex = Gender.Boy;
if (userSex == Gender.Boy) {
    console.log(userSex);
}
else {
    console.log(userSex);
}
